package edu.hnu.cloudflightserver.junit;

import java.io.IOException;

import org.junit.Test;

import edu.hnu.cloudflight.android.domain.Flight;
import edu.hnu.cloudflightserver.server.impl.FlightServerRecordImpl;
import edu.hnu.cloudflightserver.util.DataBaseUtil;

public class TestJunit {

	@Test
	public void testDemo() throws IOException{
	
		
		
	}
	
	
	@Test
	public void recordQueryTest(){
		Flight f = new Flight();
		f.name="UTF4567";
		f.start="广州";
		f.end="北京";
		DataBaseUtil.initConnectionPool();
		FlightServerRecordImpl.getRecordInstance().recordQuery("query",f, null,null);
	}
}
